<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
	</body>
	<script type="text/javascript">
		function ss(name,age,nv,aihao,shuohua){
			this.name=name;
			this.age=age;
			this.nv=nv;
			this.aihao=aihao;
			this.shuohua=shuohua;
			this.hua=function(){
				document.write(name+"年龄"+age+"性别"+nv+"爱好"+aihao+aihao+"说"+shuohua)
			}
		}
		var obj=new ss("小明",18,"男","小王","不行我拒绝");
		obj.hua();
	</script>
</html>
